---@class mqtt
mqtt = {}

---	Creates a MQTT client.
---@param
---@return nil
function mqtt.Client()
end

---	Closes connection to the broker.
---@param
---@return nil
function mqtt.client:close()
end

---	Connects to the broker specified by the given host, port, and secure options.
---@param
---@return nil
function mqtt.client:connect()
end

---	Setup Last Will and Testament.
---@param
---@return nil
function mqtt.client:lwt()
end

---	Registers a callback function for an event.
---@param
---@return nil
function mqtt.client:on()
end

---	Publishes a message.
---@param
---@return nil
function mqtt.client:publish()
end

---	Subscribes to one or several topics.
---@param
---@return nil
function mqtt.client:subscribe()
end

---	Unsubscribes from one or several topics.
---@param
---@return nil
function mqtt.client:unsubscribe()
end
